#include <iostream>

class Student
{
private:
    std::string name;
    int id;

public:
    Student();
    Student(std::string name, int id);
    ~Student();
    void set_name(std::string name);
    void set_id(int id);
    void show_student();
};

void Student::set_name(std::string name)
{
    this->name = name;
}

void Student::set_id(int id)
{
    this->id = id;
}

void Student::show_student()
{
    std::cout << "name：" << this->name << "\tid：" << this->id << std::endl;
}

Student::Student()
{
}

Student::Student(std::string name, int id)
{
    this->name = name;
    this->id = id;
}

Student::~Student()
{
}

int main(int argc, char const *argv[])
{
    

    Student stu;
    stu.set_name("德玛西亚");
    stu.set_id(10);
    stu.show_student();

    return 0;
}
